#ifndef CATEGORY_H
#define CATEGORY_H

#include <QObject>
#include <QColor>

class Category : public QObject
{
    Q_OBJECT
public:
    explicit Category(QObject *parent = 0);
    Category(QString name, int id, QColor color, QObject *parent = 0);

    void setName(QString name);
    QString getName();
    void setColor(QColor color);
    QColor getColor();
    void setId(int id);
    int getId();

signals:

public slots:

private:
    int mId;
    QString mName;
    QColor mColor;

};

#endif // CATEGORY_H
